Fix issues introduced in 3a7f872a
authorWei Liu <wei.liu2@citrix.com>
Mon, 19 Sep 2016 18:13:04 +0000 (19:13 +0100)
committerWei Liu <wei.liu2@citrix.com>
Tue, 20 Sep 2016 13:05:11 +0000 (14:05 +0100)
commit8fec44f23cf59d9be02df055b40e9f9536a0d570
tree8c22651c79f2bd5ee7f79466f06ecd8ffaabd742
parentf1446de4ba5218a58fa2486ebe090495e0fb05c4
Fix issues introduced in 3a7f872a

3a7f872a ("tools: lift BUILD_BUG_ON to a tools header file") was taken
out from an rather old half finished branch by dropping unrelated
changes.  Unfortunately two issues sneaked in.

1. Hvmloader should be standalone. Revert the changes to hvmloader.
2. The define guard in libs.h was erroneously deleted. Add that back.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/firmware/hvmloader/rombios.c
tools/firmware/hvmloader/smbios.c
tools/firmware/hvmloader/util.h
tools/include/xen-tools/libs.h